package com.guodx.study.springboot.d10.framework.async.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

//@Configuration
@Data
@ConfigurationProperties(prefix = "async")
public class AsyncProperties {
    /**
     * 核心线程数
     */
    private Integer corePoolSize;
    /**
     * 最大线程数
     */
    private Integer maxPoolSize;
    /**
     * 等待队列容量
     */
    private Integer queueCapacity;
    /**
     * 最大等待终止秒数
     */
    private Integer awaitTerminateSeconds;
}
